package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysCommissionrecord;

/**
 * 积分佣金记录Mapper接口
 * 
 * @author ruoyi
 * @date 2021-06-13
 */
public interface SysCommissionrecordMapper 
{
    /**
     * 查询积分佣金记录
     * 
     * @param commid 积分佣金记录ID
     * @return 积分佣金记录
     */
    public SysCommissionrecord selectSysCommissionrecordById(Long commid);

    /**
     * 查询积分佣金记录列表
     * 
     * @param sysCommissionrecord 积分佣金记录
     * @return 积分佣金记录集合
     */
    public List<SysCommissionrecord> selectSysCommissionrecordList(SysCommissionrecord sysCommissionrecord);

    /**
     * 新增积分佣金记录
     * 
     * @param sysCommissionrecord 积分佣金记录
     * @return 结果
     */
    public int insertSysCommissionrecord(SysCommissionrecord sysCommissionrecord);

    /**
     * 修改积分佣金记录
     * 
     * @param sysCommissionrecord 积分佣金记录
     * @return 结果
     */
    public int updateSysCommissionrecord(SysCommissionrecord sysCommissionrecord);

    /**
     * 删除积分佣金记录
     * 
     * @param commid 积分佣金记录ID
     * @return 结果
     */
    public int deleteSysCommissionrecordById(Long commid);

    /**
     * 批量删除积分佣金记录
     * 
     * @param commids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysCommissionrecordByIds(Long[] commids);
}
